import request from '@/utils/request';

export async function reqTyDiseaseCauseList(data: any, options?: any): Promise<any> {
	return request('/api/v1/diseaseCause/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyDiseaseCause(data: any, options?: any): Promise<any> {
	return request('/api/v1/diseaseCause/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyDiseaseCause(data: any, options?: any): Promise<any> {
	return request('/api/v1/diseaseCause/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyDiseaseCause(data: any, options?: any): Promise<any> {
	return request('/api/v1/diseaseCause/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


